home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Add-Ons / CodeWarrior / DASM 2.0 / DASM Src.sit / SRC / ASSEMBLE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-16  |  671 b   |  26 lines

  1. // Line processing states
  2.  
  3. enum
  4. {
  5.     LINE_BEGIN,
  6.     LINE_OPCODE,
  7.     LINE_OPERAND,
  8.     LINE_COMMENT,
  9.  
  10.     LINE_DONE = LINE_COMMENT
  11. };
  12.  
  13. // prototypes
  14.  
  15. extern OSErr    OutByte(UBYTE v);
  16. extern OSErr    OutWord(UWORD v);
  17. extern OSErr    OutLong(ULONG v);
  18. extern OSErr    InitAssembler(const FSSpec *spec);
  19. extern OSErr    TermAssembler(void);
  20. extern OSErr    Assemble( FSSpec *inSpec, Handle hand, Size size, FSSpec *outSpec );
  21. extern OSErr    AssembleLine(Ptr *src);
  22. extern OSErr    AssembleText(Ptr src, Size size);
  23. OSErr IncludeFile( char* inclname, Boolean fullSearch );
  24. OSErr ErrorMessage( OSErr error, OSErr oserr, int line, ErrorType errtype );
  25. void FatalMessage( OSErr error );
  26.